package com.cnap.multiclouldmgmt.model.enums;


import org.apache.commons.lang3.StringUtils;

import java.util.List;

/**
 * ------
 *告警级别枚举
 * @data 202211
 * @version 1.0
 * @describe
 * @author xc
 * ----
 **/
public enum QueryIndicatorTypeEnum {

    CPU("CPU使用率","cpu", "%"),
    MEMORY("内存使用率","mem", "%"),
    IOPS("磁盘IOPS","disIops", "次/s"),
    THROUGHPUT("吞吐量", "throghput", "Mbytes/s"),

    GPU_MEMORY("显存使用率","cpuMem", "%"),
    GPU("GPU使用率","gpu", "%"),
    GPU_TEMPERATURE("GPU温度","gpuHeat", "℃");;

    private final String chineseDesc;
    private final String desc;
    private final String unit;

    QueryIndicatorTypeEnum(String chineseDesc, String desc, String unit) {
        this.chineseDesc = chineseDesc;
        this.desc = desc;
        this.unit = unit;
    }

    /**
     * get
     *
     * @return ChineseDesc
     */
    public String getChineseDesc() {
        return chineseDesc;
    }

    /**
     * get
     *
     * @return Desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * get
     *
     * @return Unit
     */
    public String getUnit() {
        return unit;
    }
}
